<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-transform" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta name="applicable-device" content="pc,mobile">
    <link rel="stylesheet" href="/css/index.css"/>
    <title>薅羊毛作者 - 天天线报网</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/layui/css/reset.css"/>
    <script src="/layui/layui.js"></script>
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?0e9ace0ec6eaa50fecc2ca9f52f63f89";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</head>
<body>
<div th:replace="common/menu::menu(menuList=${menuList})"></div>

<div class="layui-row" style="margin-top: 1rem;" >
    <div class="layui-col-md1 layui-col-md-offset1 layui-col-xs12 layui-col-xs-offset5">
        <img th:src="${users.touxiang}" style="height: 120px;width: 120px" class="layui-circle" title="薅羊毛作者头像" alt="薅羊毛作者头像">
    </div>
    <div class="layui-col-md8 layui-col-md-offset1  layui-col-xs12" style="margin: 2rem;margin-left: 0.55rem">
        <div class="layui-row layui-col-xs-offset5 layui-col-md-offset1">
            <h1 th:text="${users.author}" style="font-size: 24px;    margin-left: 1rem;"></h1>
        </div>
        <div class="layui-row layui-col-xs-offset2 layui-col-md-offset1" style="font-size: 14px;margin-top: 1.5rem;" th:text="'投稿数：'+${all}+'    通过次数：'+${pass}+'    总阅读数：'+${readCount}">
        </div>
<!--        <div class="layui-row layui-col-xs-offset5 layui-col-md-offset1" style="margin-top: 1.5rem;">-->
<!--            <button class=" layui-btn">普通用户</button>-->
<!--        </div>-->
    </div>
</div>

<div class="layui-row" style="background-color: #FFFFFF;padding: 0 15px;border-bottom: 1px solid #eeeeee;">
    <blockquote class="layui-elem-quote" style="font-size: 18px">最新发表<a th:href="'/author/list/'+${users.id}" class="title" style="float: right">查看更多</a></blockquote>
    <table class="layui-table" lay-skin="line">
        <tr th:each="p:${projectList}">
            <td><a th:href="'/article/'+${p.id}" th:text="${p.title}"></a></td>
            <td th:if="${p.offline == '0'}">展示中</td>
            <td th:if="${p.offline == '1'}">已下架</td>
            <td th:text="${p.showCreateTime}"></td>
        </tr>
    </table>
</div>

<div th:include="common/footer::footer"></div>
</body>
</html>